// project created on 9/20/2006 at 9:13 PM
using System;
using Gtk;

namespace bashpromptutil
{
	class MainClass
	{
		public static void Main (string[] args)
		{
			Application.Init ();
			MainWindow win = new MainWindow ();
			win.Show ();
			try
			{
				Application.Run ();
			}
			catch(Exception ex)
			{
				MessageDialog md = new MessageDialog(win,Gtk.DialogFlags.Modal,Gtk.MessageType.Error,
				                                         Gtk.ButtonsType.Ok,"Exception Caught: {0}",ex.Message);
				md.Run();
				Console.WriteLine("Exception Detail: {0}",ex.Message);
			}
		}
	}
}